# 环境准备
yum -y install wget && yum clean all \
    && wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm \
    && rpm -ivh epel-release-6-8.noarch.rpm \
    && rm -rf epel-release-6-8.noarch.rpm
# 安装
yum -y install redis && yum clean all